projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fa089
)
(Fdefine_charset_internal): Make charset
author
Kenichi Handa
<handa@m17n.org>
Tue, 14 Apr 2009 01:24:52 +0000
(
01:24
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 14 Apr 2009 01:24:52 +0000
(
01:24
+0000)
ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
src/charset.c
patch
|
blob
|
history
diff --git
a/src/charset.c
b/src/charset.c
index 492849f68680301d2e7cc4acd6500000beab403d..bfe3468662937f39b560dd69672063924587848b 100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-1082,6
+1082,8
@@
usage: (define-charset-internal ...) */)
i = (i >> 12) << 12;
for (; i <= charset.max_char; i += 0x1000)
CHARSET_FAST_MAP_SET (i, charset.fast_map);
+ if (charset.code_offset == 0 && charset.max_char >= 0x80)
+ charset.ascii_compatible_p = 1;
}
else if (! NILP (args[charset_arg_map]))
{